package com.gmscosmo.janus.echarts;

public class Point {
    private String name;
    private int x;
    private int y;
    private int symbolSize;
    private ItemStyle itemStyle;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

    public int getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }

    public int getSymbolSize() {
        return symbolSize;
    }

    public void setSymbolSize(int symbolSize) {
        this.symbolSize = symbolSize;
    }

    public ItemStyle getItemStyle() {
        return itemStyle;
    }

    public void setItemStyle(ItemStyle itemStyle) {
        this.itemStyle = itemStyle;
    }

    @Override
    public String toString() {
        return "{" +'\n'+
                "  name:'" + name + '\'' +",\n"+
                "  x:" + x +",\n"+
                "  y:" + y +",\n"+
                "  symbolSize:" + symbolSize +",\n"+
                "  itemStyle:" + itemStyle +"\n"+
                '}';
    }
}
